home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 2: Applications / Linux Cubed Series 2 - Applications.iso / editors / emacs / xemacs / xemacs-1.004 / xemacs-1 / xemacs-19.13 / src / m / alliant.h < prev    next >
Encoding:
C/C++ Source or Header  |  1995-07-28  |  4.0 KB  |  124 lines

  1. /* alliant.h  Alliant machine running system version 2 or 3.
  2.    Copyright (C) 1985, 1986, 1987 Free Software Foundation, Inc.
  3.    Note that for version 1 of the Alliant system
  4.    you should use alliant1.h instead of this file.
  5.    Use alliant4.h for version 4.
  6.  
  7. This file is part of GNU Emacs.
  8.  
  9. GNU Emacs is free software; you can redistribute it and/or modify
  10. it under the terms of the GNU General Public License as published by
  11. the Free Software Foundation; either version 2, or (at your option)
  12. any later version.
  13.  
  14. GNU Emacs is distributed in the hope that it will be useful,
  15. but WITHOUT ANY WARRANTY; without even the implied warranty of
  16. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  17. GNU General Public License for more details.
  18.  
  19. You should have received a copy of the GNU General Public License
  20. along with GNU Emacs; see the file COPYING.  If not, write to
  21. the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.  */
  22.  
  23. /* Synched up with: FSF 19.29. */
  24.  
  25. /* The following line tells the configuration script what sort of 
  26.    operating system this machine is likely to run.
  27.    USUAL-OPSYS="bsd4-2"  */
  28.  
  29. /* Define WORD_MACHINE if addresses and such have
  30.  * to be corrected before they can be used as byte counts.  */
  31.  
  32. #undef WORD_MACHINE
  33.  
  34. /* Now define a symbol for the cpu type, if your compiler
  35.    does not define it automatically:
  36.    vax, m68000, ns16000, pyramid, orion, tahoe and APOLLO
  37.    are the ones defined so far.  */
  38.  
  39. #define ALLIANT
  40.  
  41. /* Use type int rather than a union, to represent Lisp_Object */
  42. /* This is desirable for most machines.  */
  43.  
  44. #define NO_UNION_TYPE
  45.  
  46. /* Define EXPLICIT_SIGN_EXTEND if XINT must explicitly sign-extend
  47.    the bit field into an int.  In other words, if bit fields
  48.    are always unsigned.
  49.  
  50.    If you use NO_UNION_TYPE, this flag does not matter.  */
  51. /* On Alliants, bitfields are unsigned. */
  52.  
  53. #define EXPLICIT_SIGN_EXTEND
  54.  
  55. /* No load average information available for Alliants. */
  56.  
  57. #undef LOAD_AVE_TYPE
  58. #undef LOAD_AVE_CVT
  59.  
  60. /* Define CANNOT_DUMP on machines where unexec does not work.
  61.    Then the function dump-emacs will not be defined
  62.    and temacs will do (load "loadup") automatically unless told otherwise.  */
  63.  
  64. #undef CANNOT_DUMP
  65.  
  66. /* Define VIRT_ADDR_VARIES if the virtual addresses of
  67.    pure and impure space as loaded can vary, and even their
  68.    relative order cannot be relied on.
  69.  
  70.    Otherwise Emacs assumes that text space precedes data space,
  71.    numerically.  */
  72.  
  73. #undef VIRT_ADDR_VARIES
  74.  
  75. /* Define C_ALLOCA if this machine does not support a true alloca
  76.    and the one written in C should be used instead.
  77.    Define HAVE_ALLOCA to say that the system provides a properly
  78.    working alloca function and it should be used.
  79.    Define neither one if an assembler-language alloca
  80.    in the file alloca.s should be used.  */
  81.  
  82. #undef C_ALLOCA
  83. #define HAVE_ALLOCA
  84.  
  85. #ifdef ALLIANT_1
  86. #define C_ALLOCA
  87. #undef HAVE_ALLOCA
  88. #endif /* ALLIANT_1 */
  89.  
  90. /* Define NO_REMAP if memory segmentation makes it not work well
  91.    to change the boundary between the text section and data section
  92.    when Emacs is dumped.  If you define this, the preloaded Lisp
  93.    code will not be sharable; but that's better than failing completely.  */
  94. /* Actually, Alliant CONCENTRIX does paging "right":
  95.    data pages are copy-on-write, which means that the pure data areas
  96.    are shared automatically and remapping is not necessary.  */
  97.  
  98. #define NO_REMAP
  99.  
  100. /* Alliant needs special crt0.o because system version is not reentrant */
  101.  
  102. #define START_FILES crt0.o
  103.  
  104. /* Alliant dependent code for dumping executing image.
  105.    See crt0.c code for alliant.  */
  106.  
  107. #define ADJUST_EXEC_HEADER {\
  108. extern int _curbrk, _setbrk;\
  109. _setbrk = _curbrk;\
  110. hdr.a_bss_addr = bss_start;\
  111. unexec_text_start = hdr.a_text_addr;}
  112.  
  113. /* cc screws up on long names.  Try making cpp replace them.  */
  114.  
  115. #ifdef ALLIANT_1
  116. #define Finsert_abbrev_table_description Finsert_abbrev_table_descrip
  117. #define internal_with_output_to_temp_buffer internal_with_output_to_tem
  118. #endif
  119.  
  120. /* "vector" is a typedef in /usr/include/machine/reg.h, so its use as
  121.    a variable name causes errors when compiling under ANSI C.  */
  122.  
  123. #define vector xxvector
  124.